package com.cincc.cinccimdemo.model;

import com.cincc.cinccimdemo.widget.SideBase;
import com.cincc.im.model.dbmodel.FriendInfo;

public class FriendInfoUI extends FriendInfo implements SideBase {
    //首字母
    public String contactHeader;
    public boolean isChecked = false;

    @Override
    public String getLetterName() {
        return contactHeader;
    }

    public String getNickName() {
        return this.nickName;
    }

    public FriendInfoUI() {

    }

    public FriendInfoUI(FriendInfo friendInfo) {
        this.id = friendInfo.id;
        this.userId = friendInfo.userId;
        this.nickName = friendInfo.nickName;
        this.protraitUrl = friendInfo.protraitUrl;
        this.phone = friendInfo.phone;
        this.email = friendInfo.email;
        this.corporateName = friendInfo.corporateName;
        this.vccid = friendInfo.vccid;
        this.position = friendInfo.position;
        this.department = friendInfo.department;
        this.userType = friendInfo.userType;
        this.noDisturb = friendInfo.noDisturb;
        this.status = friendInfo.status;
        this.updateTime = friendInfo.updateTime;
        this.createTime = friendInfo.createTime;
    }
}
